package com.class06.exception;
// 异常可以分为：运行时异常和编译时异常   运行时异常：RuntimeException
// 编译时异常：非运行时异常
public class MyException extends RuntimeException{
    public MyException(){}
    public MyException(String msg){
//        super表示调用父类构造方法
        super(msg);
    }
}
